/*******************************************************************************
 * Copyright (C) 2013 Jeremy Brodt and Kevin Gillespie
 * Description: Motor Controller Driver Interface
 *         $Id: motor.h 5 2013-12-18 04:48:03Z brodtj1212@gmail.com $
 *******************************************************************************
 */

#ifndef _MOTOR_H_
#define _MOTOR_H_

#define MOTOR_VALUE_1_REV_PER_SEC 34

int motor_init(void);
void motor_set(unsigned int wheel, unsigned int dir, uint8_t value);
void motor_stop(unsigned int wheel);
void motor_coast(unsigned int wheel);
uint8_t motor_error(void);

#endif /* _MOTOR_H_ */
